package com.by.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@TableName("attr_value")
@ApiModel("属性值信息")
@Accessors(chain = true)
public class AttrValue {
    /**
     * 属性id
     */
    @TableId(value = "attr_value_id",type = IdType.AUTO)
    @ApiModelProperty(value = "属性id")
    private Integer attrValueId;
    /**
     * 属性ID
     */
    @ApiModelProperty(value = "属性ID",hidden = true)
    private int attrId;
    /**
     * 属性值
     */
    @ApiModelProperty(value = "属性值")
    private String value;
}
